package cn.iocoder.yudao.module.vote.controller.admin.voteItem.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotNull;
import java.util.*;

@Schema(description = "管理后台 - 投票行新增/修改 Request VO")
@Data
public class VoteItemSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "6782")
    private Long id;

    @Schema(description = "活动头id", requiredMode = Schema.RequiredMode.REQUIRED, example = "11597")
    @NotNull(message = "活动头id不能为空")
    private Long headId;

    @Schema(description = "选项")
    private String actLabel;

    @Schema(description = "选项媒体key值")
    private String actMediaKey;

    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "排序不能为空")
    private Integer sort;

}